import request from "../request"

export type MenuData = {
    id:number,
    name:string,
    description: string,
    path: string,
    icon: string,
    children: MenuData
}

export const dataMenuApi = () => {
    return request({
        url: "/api/data-menu",
        method: "GET"
    })
}